package com.james.constant;

import java.util.Arrays;
import java.util.List;

/**
 * @ClassName: GatewayConstant
 * @Author: JamesWang
 * @Date: 2021/4/21 21:01
 * @Description:
 * @Version:1.0
 */
public interface GatewayConstant {
    /**
     * 放行的url地址
     */
    List<String> ALLOW_URL = Arrays.asList("/oauth/token","/pay", "/auth-server/oauth/token");

    /**
     * header的token的key
     */
    String AUTHORIZATION = "Authorization";

    /**
     * token存入redis的前缀
     */
    String TOKEN_JWT_PREFIX = "oauth:jwt:";
}
